package com.ecpss.springsecuritydemo8000;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.authentication.configuration.EnableGlobalAuthentication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@EnableGlobalMethodSecurity(securedEnabled=true)
@SpringBootApplication
@MapperScan(value = "com.ecpss.springsecuritydemo8000.mysql")
public class SpringsecurityDemo8000Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringsecurityDemo8000Application.class, args);
    }

}
